package com.bjl.entity;

import orm.base.BaseBean;

/**
 * 用户
 * Created by ashin on 2017/11/9.
 */
public class User extends BaseBean{

    private static final long serialVersionUID = 2831346908543054588L;

    //用户名
    private String userName;

    //密码
    private String passWord;

    //昵称
    private String realName;

    //手机号
    private String phone;

    //级别
    private String role;

    //在线状态
    private String onlineStatus;

    //最后登录时间
    private String lastLoginTime;

    //推荐人id
    private String referrerId;

    //推荐人
    private String referrer;

    //邀请码
    private String invCode;

    //积分
    private String integral;

    //所在房间
    private String roomId;

    //保存用户当前登录的token
    private String token;

    //最顶级代理id
    private String leader;

    //收成比例
    private String earningsPercent;

    //聊天室token
    private String chart_token;

    public String getEarningsPercent() {
        return earningsPercent;
    }

    public void setEarningsPercent(String earningsPercent) {
        this.earningsPercent = earningsPercent;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getChart_token() {
        return chart_token;
    }

    public void setChart_token(String chart_token) {
        this.chart_token = chart_token;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getInvCode() {
        return invCode;
    }

    public void setInvCode(String invCode) {
        this.invCode = invCode;
    }

    public String getReferrerId() {
        return referrerId;
    }

    public void setReferrerId(String referrerId) {
        this.referrerId = referrerId;
    }

    public String getReferrer() {
        return referrer;
    }

    public void setReferrer(String referrer) {
        this.referrer = referrer;
    }

    public String getOnlineStatus() {
        return onlineStatus;
    }

    public void setOnlineStatus(String onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}